class BwRealtor {
  int? id;
  int? isnew;
  int? otherprovince;
  int? prec;
  int? rental;
  int? type;
  int? feetype;
  String? groupid;
  String? firstname;
  String? lastname;
  String? applicant;
  int? gender;
  String? city;
  String? zipcode;
  String? address;
  String? celluar;
  String? email;
  String? birthday;
  String? insurance;
  String? gst;
  String? license;
  String? membership;
  String? precname;
  String? emergencyperson;
  String? emergencyphone;
  String? relationship;
  int? cardtype;
  String? cardno;
  String? cardexpire;
  int? status;
  String? createtime;
  String? updatetime;

  BwRealtor(
      {this.id,
      this.isnew,
      this.otherprovince,
      this.prec,
      this.rental,
      this.type,
      this.feetype,
      this.groupid,
      this.firstname,
      this.lastname,
      this.applicant,
      this.gender,
      this.city,
      this.zipcode,
      this.address,
      this.celluar,
      this.email,
      this.birthday,
      this.insurance,
      this.gst,
      this.license,
      this.membership,
      this.precname,
      this.emergencyperson,
      this.emergencyphone,
      this.relationship,
      this.cardtype,
      this.cardno,
      this.cardexpire,
      this.status,
      this.createtime,
      this.updatetime});

  BwRealtor.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    isnew = json['isnew'];
    otherprovince = json['otherprovince'];
    prec = json['prec'];
    rental = json['rental'];
    type = json['type'];
    feetype = json['feetype'];
    groupid = json['groupid'];
    firstname = json['firstname'];
    lastname = json['lastname'];
    applicant = json['applicant'];
    gender = json['gender'];
    city = json['city'];
    zipcode = json['zipcode'];
    address = json['address'];
    celluar = json['celluar'];
    email = json['email'];
    birthday = json['birthday'];
    insurance = json['insurance'];
    gst = json['gst'];
    license = json['license'];
    membership = json['membership'];
    precname = json['precname'];
    emergencyperson = json['emergencyperson'];
    emergencyphone = json['emergencyphone'];
    relationship = json['relationship'];
    cardtype = json['cardtype'];
    cardno = json['cardno'];
    cardexpire = json['cardexpire'];
    status = json['status'];
    createtime = json['createtime'];
    updatetime = json['updatetime'];
  }

  Map<String, dynamic> toJson() {
    final data = <String, dynamic>{};
    data['id'] = id;
    data['isnew'] = isnew;
    data['otherprovince'] = otherprovince;
    data['prec'] = prec;
    data['rental'] = rental;
    data['type'] = type;
    data['feetype'] = feetype;
    data['groupid'] = groupid;
    data['firstname'] = firstname;
    data['lastname'] = lastname;
    data['applicant'] = applicant;
    data['gender'] = gender;
    data['city'] = city;
    data['zipcode'] = zipcode;
    data['address'] = address;
    data['celluar'] = celluar;
    data['email'] = email;
    data['birthday'] = birthday;
    data['insurance'] = insurance;
    data['gst'] = gst;
    data['license'] = license;
    data['membership'] = membership;
    data['precname'] = precname;
    data['emergencyperson'] = emergencyperson;
    data['emergencyphone'] = emergencyphone;
    data['relationship'] = relationship;
    data['cardtype'] = cardtype;
    data['cardno'] = cardno;
    data['cardexpire'] = cardexpire;
    data['status'] = status;
    data['createtime'] = createtime;
    data['updatetime'] = updatetime;
    return data;
  }

  @override
  String toString() {
    return 'BwRealtor{id: $id, isnew: $isnew, otherprovince: $otherprovince, prec: $prec, rental: $rental, type: $type, feetype: $feetype, groupid: $groupid, firstname: $firstname, lastname: $lastname, applicant: $applicant, gender: $gender, city: $city, zipcode: $zipcode, address: $address, celluar: $celluar, email: $email, birthday: $birthday, insurance: $insurance, gst: $gst, license: $license, membership: $membership, precname: $precname, emergencyperson: $emergencyperson, emergencyphone: $emergencyphone, relationship: $relationship, cardtype: $cardtype, cardno: $cardno, cardexpire: $cardexpire, status: $status, createtime: $createtime, updatetime: $updatetime}';
  }
}
